package com.xiaorun.portal.service;

import com.github.pagehelper.PageInfo;
import com.xiaorun.portal.modal.Vo.Case;

import java.util.List;
import java.util.Map;

public interface ICaseService {

    List<Case> list(Map<String,Object> params);

    PageInfo<Case> list(int pageNum, int pageSize, Map<String, Object> params);

    Integer save(Case cas) throws Exception;

    Case get(Integer id);

    Integer remove(int id);

    int countTotal(Map<String,Object> params);
}
